feat: 체류상태 긴급 확인과 근로자 안전 보관 UX 구현 - #355
Merged
Merged
Conversation
19 tasks
hywznn
marked this pull request as ready for review
August 18, 2026 04:12
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

왜 필요한가요?
기록상 체류 만료일이 지난 근로자를 곧바로 불법체류·퇴사로 단정하지 않고, HR이 신청·승인·고용 종료 상태와 근거를 확인해야 합니다. 고용 종료 후에도 과거 업무 이력은 삭제하지 않고 Server의 안전조건을 통과한 경우에만 운영 목록에서 보관합니다.
무엇이 바뀌나요?
D+N 체류만료를기록상 D+N 경과 · 긴급 확인으로 변경체류상태 확인 시작추가expected_version으로 보관API 계약
POST /api/v1/stay-verifications/scanGET /api/v1/stay-verificationsPATCH /api/v1/stay-verifications/{id}GET /api/v1/workers/{workerId}/archive-eligibilityPOST /api/v1/workers/{workerId}/archive검증
bun run test— 84 files, 472 testsbun run buildbun run lint— 오류 0, 기존routes.tsx경고 13건main과 Client 브랜치를 로컬에서 실제 연결병합 전 확인
선행 Knowledge·Server 변경은 모두 병합되었습니다. 다만 실제 Client 화면 연결 결과를 사용자와 함께 확인하기 전까지 Draft로 유지하며, 이 PR은 자동으로 병합하지 않습니다.